part of '../../purchased_item.dart';

class YookassaBankCardInfo extends Equatable implements WebBankCardInfo {
  const YookassaBankCardInfo({
    required this.last4,
    required this.expirationMonth,
    required this.expirationYear,
    required this.cardType,
  });

  @override
  final String last4;

  @override
  final String expirationMonth;

  @override
  final String expirationYear;

  @override
  final WebBankCardType cardType;

  @override
  List<Object?> get props {
    return [
      last4,
      expirationMonth,
      expirationYear,
      cardType,
    ];
  }
}
